<?php

class Application_Form_RecoverPass extends Zend_Form {

    public function init() {


        $email = new Zend_Form_Element_Text('email', array(
                    'label' => 'E-mail:',
                ));
        $email->setRequired(true);

        $this->addDisplayGroup(array(
            $email
                ), 'gr-main');

        $submit = new Zend_Form_Element_Submit('submit', array(
                    'label' => 'Wyślij',
                    'class' => 'ui-form-button'
                ));
        $submit->setDecorators(array('ViewHelper'));

        $this->addDisplayGroup(array(
            $submit
                ), 'gr-submit', array(
            'order' => 999,
                    'class'=>'email'
        ));
    }

}

